<template>
  <div class="page-viewer">
    <parse :list="list" />
  </div>
</template>

<script>
import parse from "./parse/parse";
import CircularJSON from "circular-json";
export default {
  name: "pageViewer",
  components: {
    parse,
  },
  data() {
    return {
      list: [],
    };
  },
  created() {
    const lowCode = localStorage.getItem("low-code");
    this.list = lowCode ? CircularJSON.parse(lowCode) : [];
  },
};
</script>

<style>
</style>